import 'package:gold/generated/json/base/json_field.dart';
import 'package:gold/generated/json/shop_commission_model.g.dart';
import 'dart:convert';
export 'package:gold/generated/json/shop_commission_model.g.dart';

@JsonSerializable()
class ShopCommissionModel {
	/// 本月提成
	int? month;
	/// 昨日提成
	int? yesterday;
	/// 今日提成
	int? today;
	/// 累计提成
	int? total;

	ShopCommissionModel();

	factory ShopCommissionModel.fromJson(Map<String, dynamic> json) => $ShopCommissionModelFromJson(json);

	Map<String, dynamic> toJson() => $ShopCommissionModelToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}